package com.njlime.core.base.entities;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * Entity基类扩充
 * Created by Dean on 2017-7-18.
 */
@MappedSuperclass
public class BaseEntityPlus extends BaseEntity {

    private Integer is_del; //是否删除（1是0否）
    private Integer creator; //创建人ID
    private Date create_time; //创建时间
    private Integer updater; //更新人ID
    private Date update_time; //更新时间

	@Transient
	private String startTime;
	@Transient
	private String endTime;
	@Transient
	private Integer order_type;

	public Integer getIs_del() {
		return is_del;
	}

	public void setIs_del(Integer is_del) {
		this.is_del = is_del;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}

	public Date getCreate_time() {
		return create_time;
	}

	public void setCreate_time(Date create_time) {
		this.create_time = create_time;
	}

	public Integer getUpdater() {
		return updater;
	}

	public void setUpdater(Integer updater) {
		this.updater = updater;
	}

	public Date getUpdate_time() {
		return update_time;
	}

	public void setUpdate_time(Date update_time) {
		this.update_time = update_time;
	}

	public String getStartTime() {
		return startTime;
	}

	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public Integer getOrder_type() {
		return order_type;
	}

	public void setOrder_type(Integer order_type) {
		this.order_type = order_type;
	}

}
